package com.keosimage.common;

import java.util.ArrayList;
import java.util.List;

import weibo4j.model.PostParameter;

public class KeosImagePostParameter {

	private List<PostParameter> postParamterList;

	public KeosImagePostParameter() {
		this.postParamterList = new ArrayList<PostParameter>();
	}

	public PostParameter[] PostParameters() {
		return postParamterList.toArray(new PostParameter[postParamterList
				.size()]);
	}

	public void add(String name, String value) {
		PostParameter postParameter = new PostParameter(name, value);
		postParamterList.add(postParameter);
	}
}
